OpenShadingLanguage 1.00
# Compiled by oslc 1.10.10
# options: -q -O2 -I/home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders -I/home/sources/buildbot-worker-linux_centos7/linux_290/lib/linux_centos7_x86_64/osl/shaders -o /home/sources/buildbot-worker-linux_centos7/linux_290/build/intern/cycles/kernel/shaders/node_rgb_to_bw.oso
shader node_rgb_to_bw
param	color	Color	0 0 0		%read{0,5} %write{2147483647,-1}
oparam	float	Val	0		%read{2147483647,-1} %write{7,7}
const	int	$const1	0		%read{0,0} %write{2147483647,-1}
temp	float	$tmp1	%read{1,1} %write{0,0}
const	float	$const2	0.212599993		%read{1,1} %write{2147483647,-1}
temp	float	$tmp2	%read{4,4} %write{1,1}
const	int	$const3	1		%read{2,2} %write{2147483647,-1}
temp	float	$tmp3	%read{3,3} %write{2,2}
const	float	$const4	0.715200007		%read{3,3} %write{2147483647,-1}
temp	float	$tmp4	%read{4,4} %write{3,3}
temp	float	$tmp5	%read{7,7} %write{4,4}
const	int	$const5	2		%read{5,5} %write{2147483647,-1}
temp	float	$tmp6	%read{6,6} %write{5,5}
const	float	$const6	0.0722000003		%read{6,6} %write{2147483647,-1}
temp	float	$tmp7	%read{7,7} %write{6,6}
code ___main___
# /home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders/node_rgb_to_bw.osl:21
#   Val = Color[0] * 0.2126 + Color[1] * 0.7152 + Color[2] * 0.0722;
	compref		$tmp1 Color $const1 	%filename{"/home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/intern/cycles/kernel/shaders/node_rgb_to_bw.osl"} %line{21} %argrw{"wrr"}
	mul		$tmp2 $tmp1 $const2 	%argrw{"wrr"}
	compref		$tmp3 Color $const3 	%argrw{"wrr"}
	mul		$tmp4 $tmp3 $const4 	%argrw{"wrr"}
	add		$tmp5 $tmp2 $tmp4 	%argrw{"wrr"}
	compref		$tmp6 Color $const5 	%argrw{"wrr"}
	mul		$tmp7 $tmp6 $const6 	%argrw{"wrr"}
	add		Val $tmp5 $tmp7 	%argrw{"wrr"}
	end
